﻿import request from '/@/utils/request';
enum Api {
  AddBusFlag = '/api/busFlag/add',
  DeleteBusFlag = '/api/busFlag/delete',
  UpdateBusFlag = '/api/busFlag/update',
  PageBusFlag = '/api/busFlag/page',
}

// 增加商品标签
export const addBusFlag = (params?: any) =>
	request({
		url: Api.AddBusFlag,
		method: 'post',
		data: params,
	});

// 删除商品标签
export const deleteBusFlag = (params?: any) => 
	request({
			url: Api.DeleteBusFlag,
			method: 'post',
			data: params,
		});

// 编辑商品标签
export const updateBusFlag = (params?: any) => 
	request({
			url: Api.UpdateBusFlag,
			method: 'post',
			data: params,
		});

// 分页查询商品标签
export const pageBusFlag = (params?: any) => 
	request({
			url: Api.PageBusFlag,
			method: 'post',
			data: params,
		});


